package cn.wolfcode.car.business.service;

import cn.wolfcode.car.business.domain.BpmnInfo;
import cn.wolfcode.car.business.domain.ServiceItem;
import cn.wolfcode.car.business.query.ServiceItemQuery;
import cn.wolfcode.car.common.base.page.TablePageInfo;
import com.baomidou.mybatisplus.core.metadata.TableInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 岗位服务接口
 */
public interface IServiceItemServicePlus extends IService<ServiceItem>{

    TablePageInfo<ServiceItem> query(ServiceItemQuery qo);

    void saleOn(Long id);

    void saleOff(Long id);

    BpmnInfo queryByBpmnType(String car_package);

    void startAudit(Long serviceItemId, Long bpmnInfoId, Long director, Long finance, String info);

    //void changeAuditStatus(Long serviceItemId, Integer status);
}
